import {commonRemove, getCommonPage, getParams, postData} from "@/api/business/common";

export const getPage = (page, params) => {
  return getCommonPage('/api/uic-system/fillteambill/page', page, params)
}

export const remove = (id) => {
  return commonRemove('/api/uic-system/fillteambill/remove', id)
}

export const settled = (id, billNo, isSettled) => {
  return postData('/api/uic-system/fillteambill/updateSettled', {id, billNo, isSettled})
}

export const summary = (params) => {
  return getParams('/api/uic-system/fillteambill/stat/summary', params)
}
